package com.lanou.bean;

import java.util.Date;
import java.util.List;

public class Product {
    private Integer pId;

    private String pProductname;

    private String pCity;

    private String pAddress;

    private String pPrice;

    private String pProductType;

    private String pArea;

    private String pStyle;

    private String house;

    private String date;

    private String pState;

    private Integer pDesignerid;

    private Integer pCompanyid;

    private Integer pUserid;

    private Integer pProstateid;

    private Integer productNum;

    private String pUserName;

    private String pPhone;

    private String pDecorateTime;
    private Designer designer;

    private List<ProductPhoto> productPhotoList;

    @Override
    public String toString() {
        return "Product{" +
                "pId=" + pId +
                ", pProductname='" + pProductname + '\'' +
                ", pCity='" + pCity + '\'' +
                ", pAddress='" + pAddress + '\'' +
                ", pPrice='" + pPrice + '\'' +
                ", pProducttype='" + pProductType + '\'' +
                ", pArea='" + pArea + '\'' +
                ", pStyle='" + pStyle + '\'' +
                ", house='" + house + '\'' +
                ", date=" + date +
                ", pState='" + pState + '\'' +
                ", pDesignerid=" + pDesignerid +
                ", pCompanyid=" + pCompanyid +
                ", pUserid=" + pUserid +
                ", pProstateid=" + pProstateid +
                ", productNum=" + productNum +
                ", pUserName='" + pUserName + '\'' +
                ", pPhone='" + pPhone + '\'' +
                ", pDecorateTime='" + pDecorateTime + '\'' +
                ", productPhotoList=" + productPhotoList +
                '}';
    }

    public Designer getDesigner() {
        return designer;
    }

    public void setDesigner(Designer designer) {
        this.designer = designer;
    }

    public String getpDecorateTime() {
        return pDecorateTime;
    }

    public void setpDecorateTime(String pDecorateTime) {
        this.pDecorateTime = pDecorateTime;
    }

    public String getpUserName() {
        return pUserName;
    }

    public void setpUserName(String pUserName) {
        this.pUserName = pUserName;
    }

    public String getPhone() {
        return pPhone;
    }

    public void setPhone(String phone) {
        this.pPhone = phone;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public List<ProductPhoto> getProductPhotoList() {
        return productPhotoList;
    }

    public void setProductPhotoList(List<ProductPhoto> productPhotoList) {
        this.productPhotoList = productPhotoList;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpProductname() {
        return pProductname;
    }

    public void setpProductname(String pProductname) {
        this.pProductname = pProductname == null ? null : pProductname.trim();
    }

    public String getpCity() {
        return pCity;
    }

    public void setpCity(String pCity) {
        this.pCity = pCity == null ? null : pCity.trim();
    }

    public String getpAddress() {
        return pAddress;
    }

    public void setpAddress(String pAddress) {
        this.pAddress = pAddress == null ? null : pAddress.trim();
    }

    public String getpPrice() {
        return pPrice;
    }

    public void setpPrice(String pPrice) {
        this.pPrice = pPrice == null ? null : pPrice.trim();
    }

    public String getpProducttype() {
        return pProductType;
    }

    public void setpProducttype(String pProducttype) {
        this.pProductType = pProductType == null ? null : pProductType.trim();
    }

    public String getpArea() {
        return pArea;
    }

    public void setpArea(String pArea) {
        this.pArea = pArea == null ? null : pArea.trim();
    }

    public String getpStyle() {
        return pStyle;
    }

    public void setpStyle(String pStyle) {
        this.pStyle = pStyle == null ? null : pStyle.trim();
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house == null ? null : house.trim();
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getpState() {
        return pState;
    }

    public void setpState(String pState) {
        this.pState = pState == null ? null : pState.trim();
    }

    public Integer getpDesignerid() {
        return pDesignerid;
    }

    public void setpDesignerid(Integer pDesignerid) {
        this.pDesignerid = pDesignerid;
    }

    public Integer getpCompanyid() {
        return pCompanyid;
    }

    public void setpCompanyid(Integer pCompanyid) {
        this.pCompanyid = pCompanyid;
    }

    public Integer getpUserid() {
        return pUserid;
    }

    public void setpUserid(Integer pUserid) {
        this.pUserid = pUserid;
    }

    public Integer getpProstateid() {
        return pProstateid;
    }

    public void setpProstateid(Integer pProstateid) {
        this.pProstateid = pProstateid;
    }

}